//
//  UIButton+AGAddtion.h
//  Gunterapple
//
//  Created by 热带雨林 on 2020/4/3.
//  Copyright © 2020 热带雨林. All rights reserved.
//

//#import <AppKit/AppKit.h>


#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum :NSInteger{
    GD_Top = 1,
    GD_Left = 2,
    GD_Right = 3,
    GD_Bottom = 4,
}ButtonImageAndTitleType;

@interface UIButton (AGAddtion)
+ (instancetype)initButtonWithFrame:(CGRect)frame withImage:(UIImage *)image withTitle:(NSString *)title withTitleColor:(UIColor *)color withFont:(UIFont *)font withSpace:(CGFloat)space withType:(ButtonImageAndTitleType)type withTarget:(id)target withAction:(SEL)action;
@end

NS_ASSUME_NONNULL_END
